import request from './service'
export const loginApi = (params) => request('api/worker/phoneLogin', params, 'post') //手机号登入
export const codeApi = (params) => request('api/worker/codeLogin', params, 'post') //验证码登入
export const smsApi = (params) => request('business/commonUser/sms/send', params, 'post') //发送验证码
export const regApi = (params) => request('api/worker/reg', params, 'post') //手机号注册
export const resetPwdApi = (params) => request('api/worker/resetPwd', params, 'post') //忘记密码
export const joinApi = (params) => request('api/worker/workerJoin', params, 'post') //申请加盟网点
export const categoryApi = (params) => request('business/commonOrder/category', params, 'get') //品类
export const realApi = (params) => request('api/worker/certification', params, 'post') //实名认证
export const homeOrderApi = (params) => request('api/order/orders', params, 'get') //首页订单列表
export const shouyeApi = (params) => request('api/order/shouye', params, 'get') //首页大数字
export const orderApi = (params) => request('api/order/index', params, 'get') //订单页大数字